﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace FancyBattles.GameScreen.StateMachine
{
    abstract class State
    {
        private GameplayScreen parentScreen;
        protected PlayerIndex player;

        protected GameplayScreen ParentScreen
        {
            get { return this.parentScreen; }
        }

        public PlayerIndex Player
        {
            get { return player; }
        }

        public State(GameplayScreen parentScreen, PlayerIndex player)
        {
            this.parentScreen = parentScreen;
            this.player = player;
        }

        abstract public void Update(GameTime gameTime);
        abstract public void Draw(GameTime gameTime);
    }
}
